<?php
namespace common\services\config;

class Config{
    // 基础业务码
    public static $ok                   =        ['code' => 0  ,       'message' => 'Success'];
    public static $notLogin             =        ['code' => 10001 ,    'message' => '登录态已失效'];
    public static $parameter            =        ['code' => 10002 ,    'message' => '参数不得为空'];
    public static $codeSendFail         =        ['code' => 10003 ,    'message' => '验证码发送失败'];
    public static $notSign              =        ['code' => 10004 ,    'message' => '账户未注册，请联系客服'];
    public static $alreadySure          =        ['code' => 10005 ,    'message' => '账户已认证'];
    public static $idCardError          =        ['code' => 10006 ,    'message' => '身份证格式错误'];
    public static $bankCardError        =        ['code' => 10007 ,    'message' => '银行卡号格式错误'];
    public static $passwordError        =        ['code' => 10008 ,    'message' => '密码只能为6位纯数字'];
    public static $productIsNot         =        ['code' => 10009 ,    'message' => '请选择购买的产品'];
    public static $payModeNull          =        ['code' => 10010 ,    'message' => '请选择支付方式'];


    // 短信业务码
    public static $smsContentNotConfig  =        ['code' => 20001,     'message' => '运营商错误，请联系客服'];
    public static $smsSendFail          =        ['code' => 20002,     'message' => '短信发送失败，请稍后重试'];
    public static $smsCodeNull          =        ['code' => 20003,     'message' => '验证码不得为空'];
    public static $smsCodeError         =        ['code' => 20004,     'message' => '验证码错误'];

    // 代理人返回码
    public static $agentUserUpdated     =        ['code' => 30001,     'message' => '修改失败，该代理人员已被修改或不存在'];

    // 统一返回码
    public static $no                   =        ['code' => 40001,     'message' => '服务器繁忙'];

    // 聚合数据返回码
    public static $juheApiError         =        ['code' => 50001,     'message' => '验证失败，请稍后重试'];
    public static $juheIdCardError      =        ['code' => 50002,     'message' => '验证失败，身份证与姓名不匹配'];
    public static $juheBankCardError    =        ['code' => 50003,     'message' => '验证失败，银行卡认证信息不匹配'];

    // 七牛云服务
    public static $qiniuFileNull        =        ['code' => 60001,     'message' => '上传文件不得为空'];
    public static $qiniuFail            =        ['code' => 60002,     'message' => '上传失败，请稍后重试'];
    public static $qiniuError           =        ['code' => 60003,     'message' => '图片异常，请稍后重试'];


}